﻿namespace ChinaUnicom
{
    using ChinaUnicom.Schedule;
    using System;

    public interface IScheduleQuene : IDisposable
    {
        void Schedule(ITask task);

        Status Status { get; }

        event EventHandler<ScheduleExceptionArgs> Error;

        event EventHandler<StatusChangedArgs> StatusChanged;
    }
}
